Package-level declarations
Types
Action within a step
Bid information
Error code
Error type
Estimate for a step
Failed route
Fee cost information
Fee split between integrator and LI.FI
Filtered out route
Gas cost information
Type of gas cost
Included swap or protocol step in the status response
Internal step (used in includedSteps)
Transaction metadata
Options controlling the LiFi status polling behavior.
Callback invoked with progress updates while tradeAsset executes.
Error response when unable to find a quote for the requested transfer (404)
The way the resulting quote should be ordered
Used to request a quote for a transfer of one token to another, cross chain or not
Response containing a quote from the Lifi integration
Receiving chain information (can be partial or full transaction info)
A route that can be used to realize a token transfer
The way the resulting routes should be ordered
Describes a desired any-to-any transfer and contains all information necessary to calculate the most efficient routes
Optional configuration for the routes
Response containing routes from the Lifi integration
Signs and submits an EVM transaction, returning the transaction hash.
Bridging tools supported for status check
Contains the current status of a cross chain transfer
Used to check the status of a cross chain transfer
Response containing the status of a cross chain transfer from the Lifi integration
Step in a route
Request for step transaction - type alias for LifiStep
Response containing a step with transaction data from the Lifi integration
Type of step in a route
Subpath error information
Timing options for routes and swap steps
Timing strategy configuration
Type of timing strategy
Tool details
Errors that can be thrown by the high-level tradeAsset / pollStatus methods.
Parameters for the high-level tradeAsset bridging method.
Contextual data passed alongside a progress status.
Progress status values emitted by tradeAsset via the onProgress callback.
Transaction information
The current status of the transfer
A more specific substatus for PENDING and DONE statuses
Unavailable routes information
Waits for an on-chain transaction confirmation. Returns true on success.